package diandiansong.library.http;

/**
 * Created by act on 2016/3/21.
 * state code
 */
public class Code {


    /**
     * 从 8000, 000开始编号，避免与服务器上等 code 冲突
     */

    public static final int ERROR_TOAST = -80000001;
    public static final int ERROR_NET = -80000002;
    public static final int ERROR_PARSE = -80000003;
    public static final int ERROR_UNKNOW = -80000004;
    public static final int ERROR_PARAMS = -80000005;

    public static final int ERROR_TIME_OUT = -80000006;

    ///////////////////////////////////////////////////////////////////////////
    // Server
    ///////////////////////////////////////////////////////////////////////////

    /**
     *
     */
    public static final int ERROR_USER_AUTH = -80000101;
}